html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.editor {
    flex: 1;
    display: flex;
    height: 100%;

}

.editor-code {
    overflow-y: scroll;
    width: 50%;
}

.editor-result {
    /* display: none; */
    overflow: scroll;
    width: 50%;
    /* background-color: #2c001e; */
    /* color: #ffffff; */
}

.CodeMirror {
    height: 100%;
    width: 100%;
    font-size: 16px;
}

.CodeMirror-hints {
    /* border: 1px solid #ccc; */
    background: #ffffff;
    font-size: 16px;
    max-height: 20em;
    overflow-y: auto;
    position: absolute;
    z-index: 10;
    list-style-type: circle;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.CodeMirror-hint {
    margin: 0;
    padding: 0.4em 0.8em;
    white-space: pre;
    color: #333;
    cursor: pointer;
    list-style-position: outside;
}

.CodeMirror-hint-active {
    background: #000dff;
    /* 浅紫色 */
    color: white;
    border-radius: 10px;
    /* 圆角 */
}